package com.ruoyi.supermarket.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.core.domain.model.LoginBody;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采销对象 temp_cx
 * 
 * @author ruoyi
 * @date 2024-05-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TempCx{
    private static final long serialVersionUID = 1L;

    /**
     * 编号id
     */
    private Long tId;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    @JsonProperty(value = "productId")
    private Long productId;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @JsonProperty(value = "tSum")
    private Long tSum;

    /**
     * 单价
     */
    @Excel(name = "单价")
    @JsonProperty(value = "tPrice")
    private BigDecimal tPrice;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    @JsonProperty(value = "tZPrice")
    private BigDecimal tZPrice;

    private Long createId;

    private String batch;
    //------------------------追加属性
    private String productCode;
    private String productName;
    private BigDecimal cjPrice;
    private String unit;
    private Long zsum;
    private BigDecimal zprice;
    private BigDecimal xsPrice;
    private Long stockNum;
    private BigDecimal stockPrice;
    private Long stockZpNum;
    private String whName;

}
